package com.baking.dao;

import com.baking.model.Collect;
import com.baking.model.Order;

import java.sql.SQLException;
import java.util.List;

public interface OrderMapper {
    public List<Order> getOrderList (Order product) throws SQLException;

    public boolean addOrder(Order product) throws SQLException;

    public boolean deleteOrder(Order product) throws SQLException;

    public boolean updateOrder(Order product) throws SQLException;

    public boolean addCollect(Collect collect) throws SQLException;

    public boolean deleteCollect(Collect collect) throws SQLException;
}
